﻿
namespace Galaktika.BI.Charting
{
    //public static class SeriesFactory
    //{       
    //    public static bool IsSeriesWithAxes(ChartSeries series)
    //    {
    //        switch (series.AViewType)
    //        {
    //            case ViewType.Pie:
    //            case ViewType.Pie3D:
    //            case ViewType.Doughnut3D:
    //            case ViewType.Doughnut:
    //            case ViewType.PolarArea:
    //            case ViewType.PolarLine:
    //            case ViewType.RadarArea:
    //            case ViewType.RadarLine:
    //            case ViewType.RadarPoint:
    //                return false;
    //            default:
    //                return true;
    //        }
    //    }

    //}

    public class ChartSeriesViewHelper
    {
        private static ChartSeriesViewHelper m_ChartSeriesHelper;

        #region Constructors
        private ChartSeriesViewHelper()
        {
        }
        #endregion Constructors

        #region Private Properies
        private static ChartSeriesViewHelper Helper
        {
            get
            {
                if (m_ChartSeriesHelper == null)
                {
                    m_ChartSeriesHelper = new ChartSeriesViewHelper();
                }
                return m_ChartSeriesHelper;
            }
        }
        #endregion Private Properies
        
    }

}
